Algebraic description and automatic generation of multigrid methods in SPIRAL
نویسندگان
چکیده
SPIRAL is an autotuning, program generation and code synthesis system that offers a fully automatic generation of highly optimized target codes, customized for the specific execution platform at hand. Initially, SPIRAL was targeted at problem domains in digital signal processing, later also at basic linear algebra. We open SPIRAL up to a new, practically relevant and challenging domain: multigrid solvers. SPIRAL is driven by algebraic transformation rules. We specify a set of such rules for a simple multigrid solver with a Richardson smoother for a discretized square 2D Poisson equation with Dirichlet boundary conditions. We present the target code that SPIRAL generates in static single-assignment form and discuss its performance. While this example required no changes of or extensions to the SPIRAL system, more complex multigrid solvers may require small adaptations. Copyright c © 0000 John Wiley & Sons, Ltd.
منابع مشابه
Numerical study of multigrid methods with various smoothersfor the elliptic grid generation
A robust solver for the elliptic grid generation equations is sought via a numerical study. The system of PDEs is discretized with nite diierences and multigrid methods are applied to the resulting nonlinear algebraic equations. Multigrid iterations are compared with respect to the robustness and eeciency. Diierent smoothers are tried to improve the convergence of iterations. The methods are ap...
متن کاملParallel linear algebra and the application to multigrid methods
We explain a general model for a parallel linear algebra. All algebraic operations and parallel extensions are defined formally, and it is shown that in this model multigrid methods on a distributed set of indices can be realized. This abstract formalization leads to an automatic realization of parallel methods for time-dependent and nonlinear partial differential equations and the solution of ...
متن کاملHeuristics for the Automatic Construction of Coarse Grids in Multigrid Solvers for Finite Element Problems in Solid Mechanics
Multigrid is a popular solution method for the set of linear algebraic equations that arise from PDEs discretized with the nite element method. The application of multigrid to unstructured grid problems, however, is not well developed. We discuss a method that uses many of the same techniques as the nite element method itself, to apply standard multigrid algorithms to unstructured nite element ...
متن کاملA new perspective on strength measures in algebraic multigrid
Algebraic-based multilevel solution methods (e.g. classical Ruge–Stüben and smoothed aggregation style algebraic multigrid) attempt to solve or precondition sparse linear systems without knowledge of an underlying geometric grid. The automatic construction of a multigrid hierarchy relies on strength-of connection information to coarsen the matrix graph and to determine sparsity patterns for the...
متن کاملConstruction and Evaluation of an Incremental Iterative Version of a Parallel Multigrid Cfd Code via Automatic Diierentiation for Shape Optimization Construction and Evaluation of an Incremental Iterative Version of a Parallel Multigrid Cfd Code via Automatic Diierentiation for Shape Optimization
Automatic diierentiation (AD) is a technique for augmenting computer codes to compute derivatives of a subset of their outputs with respect to a subset of their inputs. AD has been shown to provide accurate, but ineecient, sensitivity-enhanced CFD codes for use in aerodynamic shape optimization. To address the ineeciency problem, several special purpose techniques have been suggested. One such ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Concurrency and Computation: Practice and Experience
دوره 29 شماره
صفحات -
تاریخ انتشار 2017